package com.itheima.sh.c_scanner_03;
/*
    目标：能够键盘录入数据
 */
//1.导包
    import java.util.Scanner;
public class ScannerDemo01 {
    public static void main(String[] args) {
        //2.创建键盘录入对象
        Scanner sc = new Scanner(System.in);

        //3.获取键盘录入的数据
        System.out.println("请您输入数据：");
        int i = sc.nextInt();
        System.out.println(i);
    }
}
